import {get, post} from "@/utils/http";

// 获取订单列表
export async function fetchOrderList(params) {
    return await get('order/list', params,)
}

// 获取订单展期记录
export async function fetchRolloverList(params) {
    return await get('order/rolloverList', params,{
        isFilter: true
    })
}

// 获取订单还款记录
export async function fetchRepaymentList(params) {
    return await get('order/repaymentList', params,{
        isFilter: true
    })
}

// 获取订单还款计划
export async function fetchRefundSchedule(params) {
    return await get('order/refundSchedule', params,{
        isFilter: true
    })
}
